package fl.ass.service.util;

import java.util.List;

import cmm.comm.facade.framework.dto.SysCdMapDDTO;

public abstract class DictionaryMappUtils {
	
	public static String generateMappValue(List<SysCdMapDDTO> dtoList){
		String result = null;
		if(null != dtoList && dtoList.size() > 0){
			SysCdMapDDTO dto = dtoList.get(0);
			if(null != dto){
				result = dto.getTCode();
			}
		}
		return result;
	}
	
	public static SysCdMapDDTO generateMappDto(List<SysCdMapDDTO> dtoList){
		SysCdMapDDTO result = null;
		if(null != dtoList && dtoList.size() > 0){
			result = dtoList.get(0);
		}
		return result;
	}

}
